<!--
Copyright (c) Microsoft Corporation.  All rights reserved.
-->

<ResourceDictionary
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:System="clr-namespace:System;assembly=mscorlib">

    <!-- Common colors -->

    <!-- 100 percent White -->
    <Color x:Key="DarkPhoneForegroundColor">#FFFFFFFF</Color>

    <!-- 100 percent Black -->
    <Color x:Key="DarkPhoneBackgroundColor">#FF000000</Color>

    <!-- 100 percent Black -->
    <Color x:Key="DarkPhoneContrastForegroundColor">#FF000000</Color>

    <!-- 100 percent White -->
    <Color x:Key="DarkPhoneContrastBackgroundColor">#FFFFFFFF</Color>

    <!-- 40 percent White -->
    <Color x:Key="DarkPhoneDisabledColor">#66FFFFFF</Color>

    <!-- 10 percent White -->
    <Color x:Key="DarkPhoneProgressBarBackgroundColor">#19FFFFFF</Color>


    <!-- TextBox colors -->

    <!-- 100 percent Black -->
    <Color x:Key="DarkPhoneTextCaretColor">#FF000000</Color>

    <!-- 75 percent White -->
    <Color x:Key="DarkPhoneTextBoxColor">#BFFFFFFF</Color>

    <!-- 100 percent Black -->
    <Color x:Key="DarkPhoneTextBoxForegroundColor">#FF000000</Color>

    <!-- 100 percent White -->
    <Color x:Key="DarkPhoneTextBoxEditBackgroundColor">#FFFFFFFF</Color>

    <!-- 47 percent percent Black -->
    <Color x:Key="DarkPhoneTextBoxReadOnlyColor">#77000000</Color>

    <!-- 60 percent White -->
    <Color x:Key="DarkPhoneSubtleColor">#99FFFFFF</Color>

    <!-- 100 percent White -->
    <Color x:Key="DarkPhoneTextBoxSelectionForegroundColor">#FFFFFFFF</Color>


    <!-- ButtonBase colors -->
    <Color x:Key="DarkPhoneButtonBasePressedForegroundColor">#FFFFFFFF</Color>


    <!--Windows Phone 8 Text Colors-->

    <!-- 100 percent White -->
    <Color x:Key="DarkPhoneTextHighContrastColor">#FFFFFFFF</Color>

    <!-- 60 percent White -->
    <Color x:Key="DarkPhoneTextMidContrastColor">#99FFFFFF</Color>

    <!-- 45 percent White -->
    <Color x:Key="DarkPhoneTextLowContrastColor">#73FFFFFF</Color>


    <!-- Special colors -->

    <!-- 66 percent transparent -->
    <Color x:Key="DarkPhoneSemitransparentColor">#AA000000</Color>

    <!-- System chrome color -->
    <Color x:Key="DarkPhoneChromeColor">#FF1F1F1F</Color>



    <!-- Deprecated colors -->

    <!-- 20 percent White -->
    <Color x:Key="DarkPhoneInactiveColor">#33FFFFFF</Color>

    <!-- Inverse inactive background color -->
    <Color x:Key="DarkPhoneInverseInactiveColor">#FFCCCCCC</Color>

    <!-- Inverse background color -->
    <Color x:Key="DarkPhoneInverseBackgroundColor">#FFFFFFFF</Color>

    <!-- 75 percent White -->
    <Color x:Key="DarkPhoneBorderColor">#BFFFFFFF</Color>



    <!-- Visibility -->
    <Visibility x:Key="DarkPhoneDarkThemeVisibility">Visible</Visibility>
    <Visibility x:Key="DarkPhoneLightThemeVisibility">Collapsed</Visibility>



    <!-- Opacity -->
    <System:Double x:Key="DarkPhoneDarkThemeOpacity">1</System:Double>
    <System:Double x:Key="DarkPhoneLightThemeOpacity">0</System:Double>
    <System:Double x:Key="DarkPhonePivotUnselectedItemOpacity">0.4</System:Double>

    <!-- Resolution-specific resources -->

    <!--54pt-->
    <System:Double x:Key="PivotHeaderFontSize">72</System:Double>

    <Thickness x:Key="PivotItemMargin">12,28,12,0</Thickness>

    <SolidColorBrush x:Key="DarkPhoneForegroundBrush" Color="{StaticResource PhoneForegroundColor}"/>

    <SolidColorBrush x:Key="DarkPhoneBackgroundBrush" Color="{StaticResource PhoneBackgroundColor}"/>

    <SolidColorBrush x:Key="DarkPhoneContrastForegroundBrush" Color="{StaticResource PhoneContrastForegroundColor}"/>

    <SolidColorBrush x:Key="DarkPhoneContrastBackgroundBrush" Color="{StaticResource PhoneContrastBackgroundColor}"/>

    <SolidColorBrush x:Key="DarkPhoneTextCaretBrush" Color="{StaticResource PhoneTextCaretColor}"/>

    <SolidColorBrush x:Key="DarkPhoneTextBoxBrush" Color="{StaticResource PhoneTextBoxColor}"/>

    <SolidColorBrush x:Key="DarkPhoneTextBoxForegroundBrush" Color="{StaticResource PhoneTextBoxForegroundColor}"/>

    <SolidColorBrush x:Key="DarkPhoneTextBoxEditBackgroundBrush" Color="{StaticResource PhoneTextBoxEditBackgroundColor}"/>

    <SolidColorBrush x:Key="DarkPhoneTextBoxEditBorderBrush" Color="{StaticResource PhoneAccentColor}"/>

    <SolidColorBrush x:Key="DarkPhoneTextBoxReadOnlyBrush" Color="{StaticResource PhoneTextBoxReadOnlyColor}"/>

    <SolidColorBrush x:Key="DarkPhoneTextBoxSelectionForegroundBrush" Color="{StaticResource PhoneTextBoxSelectionForegroundColor}"/>

    <SolidColorBrush x:Key="DarkPhoneSubtleBrush" Color="{StaticResource PhoneSubtleColor}"/>

    <SolidColorBrush x:Key="DarkPhoneButtonBasePressedForegroundBrush" Color="{StaticResource PhoneButtonBasePressedForegroundColor}"/>

    <SolidColorBrush x:Key="DarkPhoneRadioCheckBoxBrush" Color="Transparent"/>

    <SolidColorBrush x:Key="DarkPhoneRadioCheckBoxBorderBrush" Color="{StaticResource PhoneForegroundColor}"/>

    <SolidColorBrush x:Key="DarkPhoneRadioCheckBoxCheckBrush" Color="{StaticResource PhoneForegroundColor}"/>

    <SolidColorBrush x:Key="DarkPhoneRadioCheckBoxPressedBrush" Color="{StaticResource PhoneAccentColor}"/>

    <SolidColorBrush x:Key="DarkPhoneDisabledBrush" Color="{StaticResource PhoneDisabledColor}"/>

    <SolidColorBrush x:Key="TransparentBrush" Color="Transparent"/>

    <SolidColorBrush x:Key="DarkPhoneSemitransparentBrush" Color="{StaticResource PhoneSemitransparentColor}"/>

    <SolidColorBrush x:Key="DarkPhoneChromeBrush" Color="{StaticResource PhoneChromeColor}"/>

    <SolidColorBrush x:Key="DarkPhoneAccentBrush" Color="{StaticResource PhoneAccentColor}"/>

    <SolidColorBrush x:Key="DarkPhoneProgressBarBackgroundBrush" Color="{StaticResource PhoneProgressBarBackgroundColor}"/>


    <!--Windows Phone 8 Text brushes-->

    <SolidColorBrush x:Key="DarkPhoneTextHighContrastBrush" Color="{StaticResource PhoneTextHighContrastColor}"/>

    <SolidColorBrush x:Key="DarkPhoneTextMidContrastBrush" Color="{StaticResource PhoneTextMidContrastColor}"/>

    <SolidColorBrush x:Key="DarkPhoneTextLowContrastBrush" Color="{StaticResource PhoneTextLowContrastColor}"/>


    <!-- Deprecated brushes -->

    <SolidColorBrush x:Key="DarkPhoneInactiveBrush" Color="{StaticResource PhoneInactiveColor}"/>

    <SolidColorBrush x:Key="DarkPhoneInverseInactiveBrush" Color="{StaticResource PhoneInverseInactiveColor}"/>

    <SolidColorBrush x:Key="DarkPhoneInverseBackgroundBrush" Color="{StaticResource PhoneInverseBackgroundColor}"/>

    <SolidColorBrush x:Key="DarkPhoneBorderBrush" Color="{StaticResource PhoneBorderColor}"/>


    <!-- Touch Target area -->
    <Thickness x:Key="DarkPhoneTouchTargetOverhang">12</Thickness>

    <!-- Touch Target area for CheckBox / RadioButton -->
    <Thickness x:Key="DarkPhoneTouchTargetLargeOverhang">12,20</Thickness>

    <!-- Default margins for non-touch items -->
    <Thickness x:Key="DarkPhoneHorizontalMargin">12,0</Thickness>
    <Thickness x:Key="DarkPhoneVerticalMargin">0,12</Thickness>
    <Thickness x:Key="DarkPhoneMargin">12</Thickness>

    <!-- Inner margins for text controls -->
    <Thickness x:Key="DarkPhoneTextBoxInnerMargin">1,2</Thickness>
    <Thickness x:Key="DarkPhonePasswordBoxInnerMargin">3,2</Thickness>

    <!-- Default border size-->
    <Thickness x:Key="DarkPhoneBorderThickness">3</Thickness>

    <!-- Default stroke for RadioButton -->
    <System:Double x:Key="DarkPhoneStrokeThickness">3</System:Double>

    <!-- Font names -->
    <FontFamily x:Key="DarkPhoneFontFamilyNormal">Segoe WP</FontFamily>
    <FontFamily x:Key="DarkPhoneFontFamilyLight">Segoe WP Light</FontFamily>
    <FontFamily x:Key="DarkPhoneFontFamilySemiLight">Segoe WP SemiLight</FontFamily>
    <FontFamily x:Key="DarkPhoneFontFamilySemiBold">Segoe WP Semibold</FontFamily>
    <FontFamily x:Key="DarkPhoneFontFamilyBold">Segoe WP Bold</FontFamily>

    <!-- Font sizes -->

    <!--14pt-->
    <System:Double x:Key="DarkPhoneFontSizeSmall">18.667</System:Double>
    <!--15pt-->
    <System:Double x:Key="DarkPhoneFontSizeNormal">20</System:Double>
    <!--17pt-->
    <System:Double x:Key="DarkPhoneFontSizeMedium">22.667</System:Double>
    <!--19pt-->
    <System:Double x:Key="DarkPhoneFontSizeMediumLarge">25.333</System:Double>
    <!--24pt-->
    <System:Double x:Key="DarkPhoneFontSizeLarge">32</System:Double>
    <!--32pt-->
    <System:Double x:Key="DarkPhoneFontSizeExtraLarge">42.667</System:Double>
    <!--54pt-->
    <System:Double x:Key="DarkPhoneFontSizeExtraExtraLarge">72</System:Double>
    <!--140pt-->
    <System:Double x:Key="DarkPhoneFontSizeHuge">186.667</System:Double>


    <!-- TextBlock styles -->

    <Style x:Key="DarkPhoneTextBlockBase" TargetType="TextBlock">
        <Setter Property="FontFamily" Value="{StaticResource DarkPhoneFontFamilyNormal}"/>
        <Setter Property="FontSize" Value="{StaticResource DarkPhoneFontSizeNormal}"/>
        <Setter Property="Foreground" Value="{StaticResource DarkPhoneForegroundBrush}"/>
        <Setter Property="Margin" Value="{StaticResource DarkPhoneHorizontalMargin}"/>
    </Style>

    <Style x:Key="DarkPhoneTextNormalStyle" TargetType="TextBlock" BasedOn="{StaticResource DarkPhoneTextBlockBase}" />

    <Style x:Key="DarkPhoneTextSubtleStyle" TargetType="TextBlock" BasedOn="{StaticResource DarkPhoneTextBlockBase}">
        <Setter Property="Foreground" Value="{StaticResource DarkPhoneSubtleBrush}"/>
    </Style>

    <Style x:Key="DarkPhoneTextTitle1Style" TargetType="TextBlock" BasedOn="{StaticResource DarkPhoneTextBlockBase}">
        <Setter Property="FontFamily" Value="{StaticResource DarkPhoneFontFamilySemiLight}"/>
        <Setter Property="FontSize" Value="{StaticResource DarkPhoneFontSizeExtraExtraLarge}"/>
    </Style>

    <Style x:Key="DarkPhoneTextTitle2Style" TargetType="TextBlock" BasedOn="{StaticResource DarkPhoneTextBlockBase}">
        <Setter Property="FontFamily" Value="{StaticResource DarkPhoneFontFamilySemiLight}"/>
        <Setter Property="FontSize" Value="{StaticResource DarkPhoneFontSizeLarge}"/>
    </Style>

    <Style x:Key="DarkPhoneTextTitle3Style" TargetType="TextBlock" BasedOn="{StaticResource DarkPhoneTextBlockBase}">
        <Setter Property="FontFamily" Value="{StaticResource DarkPhoneFontFamilySemiLight}"/>
        <Setter Property="FontSize" Value="{StaticResource DarkPhoneFontSizeMedium}"/>
    </Style>

    <Style x:Key="DarkPhoneTextExtraLargeStyle" TargetType="TextBlock" BasedOn="{StaticResource DarkPhoneTextBlockBase}">
        <Setter Property="FontFamily" Value="{StaticResource DarkPhoneFontFamilySemiLight}"/>
        <Setter Property="FontSize" Value="{StaticResource DarkPhoneFontSizeExtraLarge}"/>
    </Style>

    <Style x:Key="DarkPhoneTextGroupHeaderStyle" TargetType="TextBlock" BasedOn="{StaticResource DarkPhoneTextBlockBase}">
        <Setter Property="FontFamily" Value="{StaticResource DarkPhoneFontFamilySemiLight}"/>
        <Setter Property="FontSize" Value="{StaticResource DarkPhoneFontSizeLarge}"/>
        <Setter Property="Foreground" Value="{StaticResource DarkPhoneSubtleBrush}"/>
    </Style>

    <Style x:Key="DarkPhoneTextLargeStyle" TargetType="TextBlock" BasedOn="{StaticResource DarkPhoneTextBlockBase}">
        <Setter Property="FontFamily" Value="{StaticResource DarkPhoneFontFamilySemiLight}"/>
        <Setter Property="FontSize" Value="{StaticResource DarkPhoneFontSizeLarge}"/>
    </Style>

    <Style x:Key="DarkPhoneTextSmallStyle" TargetType="TextBlock" BasedOn="{StaticResource DarkPhoneTextBlockBase}">
        <Setter Property="FontSize" Value="{StaticResource DarkPhoneFontSizeSmall}"/>
        <Setter Property="Foreground" Value="{StaticResource DarkPhoneSubtleBrush}"/>
    </Style>

    <Style x:Key="DarkPhoneTextContrastStyle" TargetType="TextBlock" BasedOn="{StaticResource PhoneTextBlockBase}">
        <Setter Property="FontFamily" Value="{StaticResource DarkPhoneFontFamilySemiBold}"/>
        <Setter Property="Foreground" Value="{StaticResource DarkPhoneContrastForegroundBrush}"/>
    </Style>

    <Style x:Key="DarkPhoneTextAccentStyle" TargetType="TextBlock" BasedOn="{StaticResource DarkPhoneTextBlockBase}">
        <Setter Property="FontFamily" Value="{StaticResource DarkPhoneFontFamilySemiBold}"/>
        <Setter Property="Foreground" Value="{StaticResource DarkPhoneAccentBrush}"/>
    </Style>

    <Style x:Key="DarkPhoneTextHugeStyle" TargetType="TextBlock" BasedOn="{StaticResource DarkPhoneTextBlockBase}">
        <Setter Property="FontFamily" Value="{StaticResource DarkPhoneFontFamilyLight}"/>
        <Setter Property="FontSize" Value="{StaticResource DarkPhoneFontSizeHuge}"/>
    </Style>



    <!-- Panorama -->

    <System:Double x:Key="PanoramaItemCharacterSpacing">-35</System:Double>

    <!--50pt-->
    <System:Double x:Key="PanoramaItemHeaderFontSize">66</System:Double>

    <Style x:Key="PanoramaItemHeaderTextStyle" TargetType="TextBlock">
        <Setter Property="FontFamily" Value="{StaticResource DarkPhoneFontFamilySemiLight}"/>
        <Setter Property="FontSize" Value="{StaticResource PanoramaItemHeaderFontSize}"/>
        <Setter Property="CharacterSpacing" Value="{StaticResource PanoramaItemCharacterSpacing}"/>
    </Style>

    <!-- Pivot -->

    <!--17pt-->
    <System:Double x:Key="PivotTitleFontSize">22.667</System:Double>

    <Style x:Key="PivotTitleStyle" TargetType="ContentControl">
        <Setter Property="FontFamily" Value="{StaticResource DarkPhoneFontFamilySemiBold}"/>
        <Setter Property="FontSize" Value="{StaticResource PivotTitleFontSize}"/>
    </Style>


    <!-- LongListSelector -->

    <!-- GroupHeader -->

    <!-- 22pt -->
    <System:Double x:Key="LongListSelectorGroupHeaderFontSize">29.333</System:Double>

    <!-- 32pt -->
    <System:Double x:Key="LongListSelectorGroupHeaderLetterTileFontSize">42.667</System:Double>

    <Style x:Key="LongListSelectorGroupHeaderStyle" TargetType="TextBlock" BasedOn="{StaticResource DarkPhoneTextBlockBase}">
        <Setter Property="FontSize" Value="{StaticResource LongListSelectorGroupHeaderFontSize}"/>
        <Setter Property="FontFamily" Value="{StaticResource DarkPhoneFontFamilySemiLight}"/>
        <Setter Property="Foreground" Value="{StaticResource DarkPhoneAccentBrush}"/>
    </Style>

    <Style x:Key="LongListSelectorGroupHeaderLetterTileStyle" TargetType="TextBlock" BasedOn="{StaticResource DarkPhoneTextBlockBase}">
        <Setter Property="FontSize" Value="{StaticResource LongListSelectorGroupHeaderLetterTileFontSize}"/>
        <Setter Property="FontFamily" Value="{StaticResource DarkPhoneFontFamilySemiLight}"/>
    </Style>

    <!-- Jumplist -->

    <!-- JumpList Strings -->

    <!-- 20pt -->
    <System:Double x:Key="JumpListStringFontSize">26.667</System:Double>

    <Style x:Key="JumpListStringStyle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="{StaticResource JumpListStringFontSize}"/>
        <Setter Property="FontFamily" Value="{StaticResource DarkPhoneFontFamilySemiBold}"/>
        <Setter Property="Foreground" Value="{StaticResource DarkPhoneTextHighContrastBrush}"/>
    </Style>

    <!-- JumpList Alphabet Small (for international text) -->

    <!-- 28pt -->
    <System:Double x:Key="JumpListAlphabetSmallFontSize">37.333</System:Double>

    <Style x:Key="JumpListAlphabetSmallStyle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="{StaticResource JumpListAlphabetSmallFontSize}"/>
        <Setter Property="FontFamily" Value="{StaticResource DarkPhoneFontFamilyBold}"/>
        <Setter Property="Foreground" Value="{StaticResource DarkPhoneTextHighContrastBrush}"/>
    </Style>

    <!-- JumpList Alphabet -->

    <!-- 36pt -->
    <System:Double x:Key="JumpListAlphabetFontSize">48</System:Double>

    <Style x:Key="JumpListAlphabetStyle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="{StaticResource JumpListAlphabetFontSize}"/>
        <Setter Property="FontFamily" Value="{StaticResource DarkPhoneFontFamilySemiBold}"/>
        <Setter Property="Foreground" Value="{StaticResource DarkPhoneTextHighContrastBrush}"/>
    </Style>

    <!--EmptyList -->

    <!--24pt-->
    <System:Double x:Key="EmptyListHeaderFontSize">32</System:Double>

    <Style x:Key="EmptyListHeaderStyle" TargetType="TextBlock" BasedOn="{StaticResource DarkPhoneTextBlockBase}">
        <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiLight}"/>
        <Setter Property="FontSize" Value="{StaticResource EmptyListHeaderFontSize}"/>
        <Setter Property="Foreground" Value="{StaticResource DarkPhoneTextMidContrastColor}"/>
    </Style>
</ResourceDictionary>

  